import {request} from '@/config/http.js'
 
 // 设置定时器
export function setTimer (config) {
	return request({
		url:'/job/setCron?cronMoring='+config.cronMoring+'&cronNight='+config.cronNight+'&openid='+config.openid,
		method:'put'
	})
}
// 定时器取消接口
export function  downTimer (config) {
	return request({
		url:'/jobStatus/setCronMoringStatus='+config.cornnight+'&cronmoring='+config.cronmoring+'&id='+config.id+'&moringStatus='+config.moringStatus+'&config.nightStatus='+config.nightStatus+'&openid='+config.openid,
		method:'put'
	})
}
